package provider.example.impl;

import org.example.ILoggerFactory;
import provider.example.logback.MyLoggerFactory;
import org.example.spi.LoggerFactoryBinder;

public class StaticLoggerBinder implements LoggerFactoryBinder {
    public static String REQUESTED_API_VERSION = "1.7.16"; // !final
    private static StaticLoggerBinder SINGLETON = new StaticLoggerBinder();

    public static StaticLoggerBinder getSingleton() {
        return SINGLETON;
    }

    public ILoggerFactory getLoggerFactory() {
        ILoggerFactory myLoggerFactory = new MyLoggerFactory();
        return myLoggerFactory;
    }

    public String getLoggerFactoryClassStr() {
        return null;
    }
}
